{%- comment -%}
Displays the list of specification subpages.

USAGE: {% include specifications-list subpages=page.subpages %}

In the YAML frontmatter, include a snippet like this:
    ---
    subpages:
      - title: Some page
        description: Text to display below the link
        relative_url: foo
      - title: Another page
        description: More text
        relative_url: ../bar
    ---
{%- endcomment -%}
<ul class="custom-list">
{%- for item in include.subpages %}
<li>
<a class="border-b border-black-900 inline-block w-full mb-6" href="{{ item.relative_url }}">
<p class="h3 font-semibold mb-2 flex items-center text-green-dark">
    <span class="mr-4">
    <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
    <path d="M0.896251 18C-0.298751 12.0505 -0.298752 5.94951 0.896249 -7.47629e-07C7.1285 2.02552 12.9429 5.081 18 9C12.9429 12.919 7.1285 15.9745 0.896251 18Z" fill="#40DB88"/>
    </svg>
    </span>
    {{ item.title | escape }}
</p>
<p class="mb-4 font-normal text-black pl-9">{{ item.description | escape }}</p>
</a>
</li>
{% endfor -%}
</ul>
